#ifndef CLIENT_H
#define CLIENT_H

#include <QObject>

class Client : public QObject
{
    Q_OBJECT
public:
    explicit Client(QObject *parent = nullptr);
    void connectToServer();
    void sendFilenameToServer(QString filename);
private:
    const int PORT = 8888;
    int m_clientFd;

signals:
    void connectStatus(int status);
    void diliverHtmlToMain(QString html);
};

#endif // CLIENT_H
